package com.ruoyi.gcgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 质量事故调查对象 gc_quality_records
 * 
 * @author ruoyi
 * @date 2023-05-02
 */
public class GcQualityRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Long gcProjectid;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String orderNo;

    /** 施工安装合同ID */
    @Excel(name = "施工安装合同ID")
    private Long sgazhtId;

    /** 工程名称 */
    @Excel(name = "工程名称")
    private String name;

    /** 建设单位 */
    @Excel(name = "建设单位")
    private String construction;

    /** 施工班组 */
    @Excel(name = "施工班组")
    private String banz;

    /** 施工负责人 */
    @Excel(name = "施工负责人")
    private String daib;

    /** 班组成员ID */
    @Excel(name = "班组成员ID")
    private String peopleIds;

    /** 班组成员 */
    @Excel(name = "班组成员")
    private String peopleName;

    /** 质量事故类型 */
    @Excel(name = "质量事故类型")
    private String qualityType;

    /** 质量事故类型Ids */
    @Excel(name = "质量事故类型Ids")
    private String qualityTypeIds;

    /** 事故调查详情 */
    @Excel(name = "事故调查详情")
    private String descs;

    /** 事故性质 */
    @Excel(name = "事故性质")
    private String nature;

    /** 直接经济损失 */
    @Excel(name = "直接经济损失")
    private String loss;

    /** 评定及处理结果 */
    @Excel(name = "评定及处理结果")
    private String result;

    /** 调查人员签名 */
    @Excel(name = "调查人员签名")
    private String investigators;

    /** 总经理意见 */
    @Excel(name = "总经理意见")
    private String zjlOpinion;

    /** 审核人 */
    @Excel(name = "审核人")
    private String spr;

    /** 审核人时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核人时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sprAt;

    /** 批准人 */
    @Excel(name = "批准人")
    private String pzr;

    /** 批准人时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "批准人时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pzrAt;

    /** 附件 */
    @Excel(name = "附件")
    private String zlwj;

    /** 状态（0待审核，1通过，2拒绝） */
    @Excel(name = "状态", readConverterExp = "0=待审核，1通过，2拒绝")
    private Integer status;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGcProjectid(Long gcProjectid) 
    {
        this.gcProjectid = gcProjectid;
    }

    public Long getGcProjectid() 
    {
        return gcProjectid;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setSgazhtId(Long sgazhtId) 
    {
        this.sgazhtId = sgazhtId;
    }

    public Long getSgazhtId() 
    {
        return sgazhtId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setConstruction(String construction) 
    {
        this.construction = construction;
    }

    public String getConstruction() 
    {
        return construction;
    }
    public void setBanz(String banz) 
    {
        this.banz = banz;
    }

    public String getBanz() 
    {
        return banz;
    }
    public void setDaib(String daib) 
    {
        this.daib = daib;
    }

    public String getDaib() 
    {
        return daib;
    }
    public void setPeopleIds(String peopleIds) 
    {
        this.peopleIds = peopleIds;
    }

    public String getPeopleIds() 
    {
        return peopleIds;
    }
    public void setPeopleName(String peopleName) 
    {
        this.peopleName = peopleName;
    }

    public String getPeopleName() 
    {
        return peopleName;
    }
    public void setQualityType(String qualityType) 
    {
        this.qualityType = qualityType;
    }

    public String getQualityType() 
    {
        return qualityType;
    }
    public void setQualityTypeIds(String qualityTypeIds) 
    {
        this.qualityTypeIds = qualityTypeIds;
    }

    public String getQualityTypeIds() 
    {
        return qualityTypeIds;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setNature(String nature) 
    {
        this.nature = nature;
    }

    public String getNature() 
    {
        return nature;
    }
    public void setLoss(String loss) 
    {
        this.loss = loss;
    }

    public String getLoss() 
    {
        return loss;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setInvestigators(String investigators) 
    {
        this.investigators = investigators;
    }

    public String getInvestigators() 
    {
        return investigators;
    }
    public void setZjlOpinion(String zjlOpinion) 
    {
        this.zjlOpinion = zjlOpinion;
    }

    public String getZjlOpinion() 
    {
        return zjlOpinion;
    }
    public void setSpr(String spr) 
    {
        this.spr = spr;
    }

    public String getSpr() 
    {
        return spr;
    }
    public void setSprAt(Date sprAt) 
    {
        this.sprAt = sprAt;
    }

    public Date getSprAt() 
    {
        return sprAt;
    }
    public void setPzr(String pzr) 
    {
        this.pzr = pzr;
    }

    public String getPzr() 
    {
        return pzr;
    }
    public void setPzrAt(Date pzrAt) 
    {
        this.pzrAt = pzrAt;
    }

    public Date getPzrAt() 
    {
        return pzrAt;
    }
    public void setZlwj(String zlwj) 
    {
        this.zlwj = zlwj;
    }

    public String getZlwj() 
    {
        return zlwj;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gcProjectid", getGcProjectid())
            .append("orderNo", getOrderNo())
            .append("sgazhtId", getSgazhtId())
            .append("name", getName())
            .append("construction", getConstruction())
            .append("banz", getBanz())
            .append("daib", getDaib())
            .append("peopleIds", getPeopleIds())
            .append("peopleName", getPeopleName())
            .append("qualityType", getQualityType())
            .append("qualityTypeIds", getQualityTypeIds())
            .append("descs", getDescs())
            .append("nature", getNature())
            .append("loss", getLoss())
            .append("result", getResult())
            .append("investigators", getInvestigators())
            .append("zjlOpinion", getZjlOpinion())
            .append("spr", getSpr())
            .append("sprAt", getSprAt())
            .append("pzr", getPzr())
            .append("pzrAt", getPzrAt())
            .append("zlwj", getZlwj())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
